/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package calendarizador;

import java.util.ArrayList;

/**
 *
 * @author yamirsuarez
 */
public class Metodo {
    
    private Integer[] cola;
    private int tamaño;
    
    public Metodo (String usuario) {
        
        String [] cadena = usuario.split(",");
        
        this.cola = new Integer[cadena.length];
        
        for (int i = 0; i < cadena.length; i++) {
            
            this.cola[i] = Integer.parseInt(cadena[i]);
            System.out.println(this.cola[i]);
        }
        
        
        //this.cola[0] = Integer.parseInt(cadena[0]);
        
    }
    
    
}
